home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
basic
/
qbfaqr01.zip
/
DISKEYB.BAS
< prev
next >
Wrap
BASIC Source File
|
1992-08-09
|
340b
|
18 lines
SUB DisableKeyboard ()
'Purpose : To disable the keyboard
'Input : none
'Return : none
OUT &H21, (INP(&H21) OR 2)
END SUB
SUB EnableKeyboard ()
'Purpose : To enable keyboard use after being disabled by DisableKeyboard
'Input : none
'Output : none
OUT &H21, (INP(&H21) AND 253)
END SUB